package org.library.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

import java.util.Scanner;

/**
 * @author Chen
 * @since 2023/6/13 14:30
 */

@ComponentScan("org.library")
@Configuration
public class Config {

    @Bean
    public Scanner getScanner() {
        return new Scanner(System.in);
    }

}
